<%@ page language="java" isELIgnored="false" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%
    String  baseUrl = request.getScheme()+"://"
            +request.getServerName()+":"
            +request.getServerPort()
            +request.getContextPath()+"/";
%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>登录页面</title>
</head>
<body>
    <form action="<%=baseUrl%>user/login" method="post">
        <input type="text" name="username" placeholder="请输入用户名"/>
        <input type="text" name="password" placeholder="请输入密码"/>
        <button type="submit">登录</button>
    </form>
</body>
</html>